\hypertarget{network_8h}{
\section{Referencia del Archivo /Users/nicolunacba/Development/Dinic/trunk/network/network.h}
\label{network_8h}\index{/Users/nicolunacba/Development/Dinic/trunk/network/network.h@{/Users/nicolunacba/Development/Dinic/trunk/network/network.h}}
}
{\ttfamily \#include \char`\"{}hashtbl.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}node.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}tuple.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}list.h\char`\"{}}\par
\subsection*{'defines'}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{network_8h_ad523c11cc6c14336c2b130d626823826}{network\_\-source\_\-node}(n)~0
\item 
\#define \hyperlink{network_8h_aa8dcbacbbdd7bd554c467d0bf07a456e}{network\_\-trash\_\-node}(n)~1
\end{DoxyCompactItemize}
\subsection*{'typedefs'}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{structs_network}{sNetwork} $\ast$ \hyperlink{network_8h_a78f5e3805d6401ebba27a8a03041a3f8}{Network}
\end{DoxyCompactItemize}
\subsection*{Funciones}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structs_network}{Network} \hyperlink{network_8h_af0a594ae08f23dbd93ff68c2f4e72f98}{network\_\-create} (void)
\item 
void \hyperlink{network_8h_a2e032cd8fed30af6eacbaead8408c126}{network\_\-add\_\-node} (\hyperlink{structs_network}{Network} net, \hyperlink{node_8h_a2f03a3e2ce8013d3b71182d9cafca989}{Node} NodeSource, \hyperlink{structs_tuple}{Node\_\-tuple} NodeTup)
\item 
\hyperlink{node_8h_a2f03a3e2ce8013d3b71182d9cafca989}{Node} $\ast$ \hyperlink{network_8h_a7284c2b25118f29553d6ce6262f95a54}{network\_\-get\_\-neighbours} (\hyperlink{structs_network}{Network} net, \hyperlink{node_8h_a2f03a3e2ce8013d3b71182d9cafca989}{Node} NodeSource)
\item 
long int \hyperlink{network_8h_aa9c38ef77dcf1df779b81eaa7f9f91ce}{network\_\-get\_\-capacity} (\hyperlink{structs_network}{Network} net, \hyperlink{node_8h_a2f03a3e2ce8013d3b71182d9cafca989}{Node} Node\_\-s, \hyperlink{node_8h_a2f03a3e2ce8013d3b71182d9cafca989}{Node} Node\_\-t)
\item 
\hyperlink{structs_network}{Network} \hyperlink{network_8h_addb9d5dc098787026bbcca671f115f27}{network\_\-destroy} (\hyperlink{structs_network}{Network} Net)
\end{DoxyCompactItemize}


\subsection{Documentación de los 'defines'}
\hypertarget{network_8h_ad523c11cc6c14336c2b130d626823826}{
\index{network.h@{network.h}!network\_\-source\_\-node@{network\_\-source\_\-node}}
\index{network\_\-source\_\-node@{network\_\-source\_\-node}!network.h@{network.h}}
\subsubsection[{network\_\-source\_\-node}]{\setlength{\rightskip}{0pt plus 5cm}\#define network\_\-source\_\-node(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~0}}
\label{network_8h_ad523c11cc6c14336c2b130d626823826}


Definición en la línea 10 del archivo network.h.



Referenciado por BFS\_\-minimum\_\-path().

\hypertarget{network_8h_aa8dcbacbbdd7bd554c467d0bf07a456e}{
\index{network.h@{network.h}!network\_\-trash\_\-node@{network\_\-trash\_\-node}}
\index{network\_\-trash\_\-node@{network\_\-trash\_\-node}!network.h@{network.h}}
\subsubsection[{network\_\-trash\_\-node}]{\setlength{\rightskip}{0pt plus 5cm}\#define network\_\-trash\_\-node(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~1}}
\label{network_8h_aa8dcbacbbdd7bd554c467d0bf07a456e}


Definición en la línea 13 del archivo network.h.



Referenciado por BFS\_\-minimum\_\-path().



\subsection{Documentación de los 'typedefs'}
\hypertarget{network_8h_a78f5e3805d6401ebba27a8a03041a3f8}{
\index{network.h@{network.h}!Network@{Network}}
\index{Network@{Network}!network.h@{network.h}}
\subsubsection[{Network}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf sNetwork}$\ast$ {\bf Network}}}
\label{network_8h_a78f5e3805d6401ebba27a8a03041a3f8}
Puntero a \hyperlink{structs_network}{sNetwork} 

Definición en la línea 16 del archivo network.h.



\subsection{Documentación de las funciones}
\hypertarget{network_8h_a2e032cd8fed30af6eacbaead8408c126}{
\index{network.h@{network.h}!network\_\-add\_\-node@{network\_\-add\_\-node}}
\index{network\_\-add\_\-node@{network\_\-add\_\-node}!network.h@{network.h}}
\subsubsection[{network\_\-add\_\-node}]{\setlength{\rightskip}{0pt plus 5cm}void network\_\-add\_\-node (
\begin{DoxyParamCaption}
\item[{{\bf Network}}]{net, }
\item[{{\bf Node}}]{NodeSource, }
\item[{{\bf Node\_\-tuple}}]{NodeTup}
\end{DoxyParamCaption}
)}}
\label{network_8h_a2e032cd8fed30af6eacbaead8408c126}
Agrega los vecinos de la network 

Definición en la línea 31 del archivo network.c.



Hace referencia a sNetwork::Hash, hashtbl\_\-get(), hashtbl\_\-insert(), hashtbl\_\-resize(), list\_\-add\_\-new\_\-elem(), list\_\-create(), list\_\-exists\_\-elem() y sNetwork::NetSize.



Referenciado por main().

\hypertarget{network_8h_af0a594ae08f23dbd93ff68c2f4e72f98}{
\index{network.h@{network.h}!network\_\-create@{network\_\-create}}
\index{network\_\-create@{network\_\-create}!network.h@{network.h}}
\subsubsection[{network\_\-create}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Network} network\_\-create (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{network_8h_af0a594ae08f23dbd93ff68c2f4e72f98}
Crea la network 

Definición en la línea 17 del archivo network.c.



Hace referencia a sNetwork::Hash, hashtbl\_\-create() y sNetwork::NetSize.



Referenciado por main().

\hypertarget{network_8h_addb9d5dc098787026bbcca671f115f27}{
\index{network.h@{network.h}!network\_\-destroy@{network\_\-destroy}}
\index{network\_\-destroy@{network\_\-destroy}!network.h@{network.h}}
\subsubsection[{network\_\-destroy}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Network} network\_\-destroy (
\begin{DoxyParamCaption}
\item[{{\bf Network}}]{Net}
\end{DoxyParamCaption}
)}}
\label{network_8h_addb9d5dc098787026bbcca671f115f27}
Destruye un Network 

Definición en la línea 108 del archivo network.c.



Hace referencia a sNetwork::Hash y hashtbl\_\-destroy().



Referenciado por main().

\hypertarget{network_8h_aa9c38ef77dcf1df779b81eaa7f9f91ce}{
\index{network.h@{network.h}!network\_\-get\_\-capacity@{network\_\-get\_\-capacity}}
\index{network\_\-get\_\-capacity@{network\_\-get\_\-capacity}!network.h@{network.h}}
\subsubsection[{network\_\-get\_\-capacity}]{\setlength{\rightskip}{0pt plus 5cm}long int network\_\-get\_\-capacity (
\begin{DoxyParamCaption}
\item[{{\bf Network}}]{net, }
\item[{{\bf Node}}]{Node\_\-s, }
\item[{{\bf Node}}]{Node\_\-t}
\end{DoxyParamCaption}
)}}
\label{network_8h_aa9c38ef77dcf1df779b81eaa7f9f91ce}
Devuelve la capacidad de la aristra entre dos nodos 

Definición en la línea 82 del archivo network.c.



Hace referencia a sNetwork::Hash, hashtbl\_\-get(), list\_\-get\_\-elem(), list\_\-get\_\-size(), tuple\_\-destroy(), tuple\_\-fst() y tuple\_\-snd().



Referenciado por BFS\_\-minimum\_\-path().

\hypertarget{network_8h_a7284c2b25118f29553d6ce6262f95a54}{
\index{network.h@{network.h}!network\_\-get\_\-neighbours@{network\_\-get\_\-neighbours}}
\index{network\_\-get\_\-neighbours@{network\_\-get\_\-neighbours}!network.h@{network.h}}
\subsubsection[{network\_\-get\_\-neighbours}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Node}$\ast$ network\_\-get\_\-neighbours (
\begin{DoxyParamCaption}
\item[{{\bf Network}}]{net, }
\item[{{\bf Node}}]{NodeSource}
\end{DoxyParamCaption}
)}}
\label{network_8h_a7284c2b25118f29553d6ce6262f95a54}
Devuelve una arreglo de nodos con los vecinos de NodeSource

Devuelve una lista de tuplas con los vecinos de NodeSource 

Definición en la línea 54 del archivo network.c.



Hace referencia a sNetwork::Hash, hashtbl\_\-get(), list\_\-get\_\-elem(), list\_\-get\_\-size() y tuple\_\-fst().



Referenciado por BFS\_\-minimum\_\-path().

